Abstracting a Speciication from Code
نویسنده
چکیده
ing a Speci cation from Code Martin Ward Computer Science Dept Science Labs South Rd Durham DH1 3LE July 16, 1993 Abstract Much of the work on developing program transformation systems has concentrated on systems to assist in program development. However, the four separate surveys carried out between 1977 and 1990 [18,20,22,24], summarised in [17], show that between 40% and 60% of all commercial software e ort is devoted to software maintenance rather than the development of new systems. In this paper we describe a joint project between the University of Durham and CSM Ltd to develop a method and tool for reverse engineering and software maintenance based on program transformation theory. We present an example which illustrates how such a tool can extract a high-level abstract speci cation from the low-level source code of a program by a process of formal program transformation based on a theory of program equivalence [27]. All the code-level reverse engineering of the example program was carried out on the prototype tool with the resulting code pasted directly into the paper.
منابع مشابه
Generating Eecient Protocol Code from an Abstract Speciication
A protocol compiler takes as input an abstract speciication of a protocol and generates an implementation of that protocol. Protocol compilers usually produce ineecient code both in terms of code speed and code size. In this paper, we show that by compiling a modular speciication into an integrated automaton and by selectively optimizing its diierent transitions, it is possible to automatically...
متن کاملProgram Synthesis from Formal Requirements Speciications Using Apts
Formal speciications of software systems are extremely useful because they can be rigorously analyzed, veriied, and validated, giving high conndence that the speciication captures the desired behavior. To transfer this conndence to the actual source code implementation, a formal link is needed between the speciication and the implementation. Generating the implementation directly from the speci...
متن کاملGenerating Eecient Protocol Code from an Abstract Speciication
A protocol compiler takes as input an abstract speciication of a protocol and generates an implementation of that protoo col. Protocol compilers usually produce ineecient code both in terms of code speed and code size. In this paper, we show that the combination of two techniques makes it possible to build protocol compilers that generate eecient code. These techniques are i) the use of a compi...
متن کاملEpsilonn | a Tool for the Abstract Speciication and Parallel Simulation of Neural Networks
In this article the neural network speciication language EpsiloNN is presented. From an abstract speciication that is independent of the target computer architecture, a simulation source program for a workstation or a parallel computer can be generated. Neurocomputers requiring xed-point data types and arithmetic are supported too. The language design is based on an uniied neural network model ...
متن کاملOn Abstracting Decision Procedures for Non-monotonic Reasoning
The author has recently introduced a meta-level speciication for non-monotonic theories which has default theories , normal logic programs and separated autoepistemic theories as instances. Semantics including the stable, stationary and regular semantics are generalized for non-monotonic theories satisfying the speciication in a straightforward way. Most importantly, it is possible to prove pro...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993